package com.hope.androidproject.utils;

import org.json.JSONException;
import org.json.JSONObject;

/**
 * Created by XLC on 2017/7/21.
 */

public class JsonUtil {

    public static JSONObject parseStringToJson(String jsonStr) {
        try {
            return new JSONObject(jsonStr);
        } catch (JSONException e) {
            e.printStackTrace();
            return null;
        }
    }
}
